{"version":3,"sources":["html-views.js"],"names":["BXEditorView","editor","element","container","this","config","isShown","bbCode","BX","addCustomEvent","proxy","OnClick","prototype","Focus","document","querySelector","ownerDocument","focus","e","Hide","style","display","Show","Disable","setAttribute","Enable","removeAttribute","params","IsShown","BXEditorTextareaView","parent","textareaElement","BXEditorIframeView","superclass","constructor","apply","arguments","name","InitEventHandlers","value","content","SetValue","extend","Clear","GetValue","bParse","IsEmpty","parse","html","bFormat","Parse","dom","pValueInput","SaveValue","inited","HasPlaceholderSet","placeholderText","getAttribute","util","trim","_this","bind","On","isFocused","textareaKeyDownPreventDefault","ctrlKey","metaKey","altKey","keyCode","KEY_CODES","GetViewMode","PreventDefault","IsFocused","ScrollToSelectedText","searchText","SelectText","ind","indexOf","setSelectionRange","length","GetTextSelection","res","selectionStart","undefined","substr","selectionEnd","selection","createRange","text","window","getSelection","toString","WrapWith","tagBegin","tagEnd","postText","bReplaceText","selectedText","mode","currentScroll","scrollTop","start","end","sel","selection_copy","duplicate","replace","setEndPoint","collapse","moveEnd","select","GetCursorPosition","textarea","caretNode","OnCreateIframe","sandbox","GetDocument","body","rangy","init","innerHTML","iframeValue","GetInnerHtml","CheckContentLastChild","ReInit","setToEnd","browser","IsIE","IsIOS","focusTimeout","clearTimeout","setTimeout","orScrollTop","documentElement","orScrollLeft","scrollLeft","scrollTo","lastChild","nodeName","SetBefore","SetAfter","SetFocusedFlag","GetTextContent","clearInvisibleSpace","txt","elementsWithVisualValue","_initObjectResizing","properties","propertiesLength","commands","exec","allowObjectResizing","supportsEvent","observe","event","target","srcElement","i","property","parseInt","redraw","preventDefault","focusWithoutScrolling","setActive","elementStyle","originalScrollTop","doc","originalScrollLeft","originalStyles","position","top","left","WebkitUserSelect","setStyles","on","win","iframeWindow","GetWindow","_element","IsOpera","_eventsInitedObject","onCustomEvent","shiftKey","getEventButton","MSRIGHT","contMenuRangeCollapsed","range","GetRange","bxTag","GetBxTag","collapsed","synchro","IsSyncOn","StopSync","IsIE10","IsIE11","phpParser","RedrawSurrogates","CheckParentSurrogate","startContainer","endContainer","surr","SetInvisibleTextAfterNode","SetInvisibleTextBeforeNode","action","actions","quote","checkSpaceAfterQuotes","SaveRange","StartSync","IsFirefox","delegate","OnPasteHandler","GetSelectedNode","OnEnterHandlerKeyUp","OnKeyUpArrowsHandler","IsChrome","nodeType","nextSibling","ExecuteAndRestoreSimple","SetTextContent","parentNode","removeChild","FirstLetterSupported","parser","firstNodeCheck","FirstLetterCheckNodes","stopBugusScrollTimeout","stopBugusScroll","CheckImageSelectSupport","SelectNode","CheckPreCursorSupport","selectedNode","FocusPreElement","KeyDown","savedScroll","lastSavedScroll","_RestoreScrollTop","nodeTitles","IMG","message","SrcTitle","A","UrlTitle","hasAttribute","InitClipboardHandler","iframeKeyDownPreventDefault","GetWindowScrollPos","command","SHORTCUTS","in_array","firstChild","startOffset","endOffset","_IEBodyClearHandler","_IEBodyClearHandlerEx","isUserTyping","typingTimeout","Exec","className","next","GetNextNotEmptySibling","Refresh","OnKeyDownArrowsHandler","li","findParent","tag","ul","customBullitClass","insertUnorderedList","getCustomBullitClass","checkCustomBullitList","FirstLetterBackspaceHandler","OnEnterHandler","removeCustomEvent","p","toLowerCase","newPar","ReplaceWithOwnChildren","IsEmptyNode","minHeight","unwrap","node","n","emptyNode","GetInvisibleTextNode","insertBefore","list","br","blockElement","blockTags","listTags","bullitClass","getElementsByTagName","match","IsSupported","INVISIBLE_SPACE","IsMac","tmpId","Math","round","random","tmpElement","GetIframeElement","remove","checkNode","create","InsertNode","prev","previousSibling","GetBlockTags","nextNode","prevNode","KC","keyDownRange","IsBlockElement","IsBlockNode","pre","prevToSur","nextToSur","keyDownNode","keyDownPre","isEmpty","isSur","sameLastRange","startCont","endCont","startIsSur","endIsSur","GetStructuralTags","CheckLastRange","CheckSurrogateNode","_MoveCursorAfterNode","setStartBefore","SetSelection","setEndAfter","_MoveCursorBeforeNode","preNode","timeout","_focusPreElementTimeout","skipPasteHandler","pasteNodeIndex","arNodes","curNode","qnodes","markGoodNode","randValue","querySelectorAll","push","childNodes","sync","iframeView","pasteHandlerTimeout","SetCursorNode","pasteHandleMode","bbParseContentMode","lastIframeValue","skipPasteControl","pasteControl","SaveIframeContent","CheckAndShow","FromIframeToTextarea","lastTextareaValue","FromTextareaToIframe","RestoreCursor","InitAutoLinking","nativeAutolinkCanBeDisabled","IsSupportedByBrowser","nativeAutoLink","IsIE9","autoLink","ignorableParents","CODE","PRE","SCRIPT","HEAD","TITLE","STYLE","urlRegExp","emailRegExp","MAX_LENGTH","BRACKETS","autolinkUrlRegExp","autolinkEmailRegExp","autoLinkHandler","checkAutoLink","ExecuteAndRestore","nodeValue","result","GetIframeDoc","walker","createTreeWalker","NodeFilter","SHOW_TEXT","ignorableParent","parseNode","convertUrlToLink","str","htmlspecialchars","url","punctuation","opening","split","realUrl","displayUrl","convertEmailToLink","email","getTmpDiv","tmp","_bx_autolink_temp_div","createElement","tmpDiv","data","autolinkTimeout","links","getTextContent","textContent","link","newTextContent","IsUserTypingNow","IsSurrogate","appendChild","BXEditorViewsSynchro","textareaView","INTERVAL","lastFocused","bParseHtml","bbCodes","bbParser","Unparse","lastSavedIframeValue","htmlFromBbCode","FullSyncFromIframe","Sync","view","currentViewName","GetSplitMode","delay","interval","OnIframeMousedown","IsFocusedOnTextarea"],"mappings":"CAOA,WAGA,SAASA,EAAaC,EAAQC,EAASC,GAEtCC,KAAKH,OAASA,EACdG,KAAKF,QAAUA,EACfE,KAAKD,UAAYA,EACjBC,KAAKC,OAASJ,EAAOI,QAAU,GAC/BD,KAAKE,QAAU,KACfF,KAAKG,OAASN,EAAOM,OACrBC,GAAGC,eAAeL,KAAKH,OAAQ,gBAAiBO,GAAGE,MAAMN,KAAKO,QAASP,OAGxEJ,EAAaY,UAAY,CACxBC,MAAO,WAEN,IAAKC,SAASC,eAAiBX,KAAKF,QAAQc,cAAcD,cAAc,YAAcX,KAAKF,QAC1F,OAED,IAAIE,KAAKF,QAAQe,QAAS,MAAMC,MAGjC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